package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 题库对象 question_bank
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class QuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 题库ID */
    @Excel(name = "题库ID")
    private String questionBlankId;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String questionBlankName;

    /** 单选题数量 */
    @Excel(name = "单选题数量")
    private Long singleChoice;

    /** 多选题数量 */
    @Excel(name = "多选题数量")
    private Long multipleChoice;

    /** 判断题数量 */
    @Excel(name = "判断题数量")
    private Long trueorfalseQuestions;

    /** 题库备注 */
    private String questionBlankRemark;

    /** 是否逻辑删除 */
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionBlankId(String questionBlankId) 
    {
        this.questionBlankId = questionBlankId;
    }

    public String getQuestionBlankId() 
    {
        return questionBlankId;
    }
    public void setQuestionBlankName(String questionBlankName) 
    {
        this.questionBlankName = questionBlankName;
    }

    public String getQuestionBlankName() 
    {
        return questionBlankName;
    }
    public void setSingleChoice(Long singleChoice) 
    {
        this.singleChoice = singleChoice;
    }

    public Long getSingleChoice() 
    {
        return singleChoice;
    }
    public void setMultipleChoice(Long multipleChoice) 
    {
        this.multipleChoice = multipleChoice;
    }

    public Long getMultipleChoice() 
    {
        return multipleChoice;
    }
    public void setTrueorfalseQuestions(Long trueorfalseQuestions) 
    {
        this.trueorfalseQuestions = trueorfalseQuestions;
    }

    public Long getTrueorfalseQuestions() 
    {
        return trueorfalseQuestions;
    }
    public void setQuestionBlankRemark(String questionBlankRemark) 
    {
        this.questionBlankRemark = questionBlankRemark;
    }

    public String getQuestionBlankRemark() 
    {
        return questionBlankRemark;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionBlankId", getQuestionBlankId())
            .append("questionBlankName", getQuestionBlankName())
            .append("singleChoice", getSingleChoice())
            .append("multipleChoice", getMultipleChoice())
            .append("trueorfalseQuestions", getTrueorfalseQuestions())
            .append("questionBlankRemark", getQuestionBlankRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
